package org.cable.link;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author hsj
 * @date 2023/10/29 17:10
 */
@SpringBootApplication(scanBasePackages = "org.cable")
@EnableTransactionManagement
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("org.cable.link.mapper")
@EnableAsync
public class LinkServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(LinkServiceApplication.class,args);
    }
}
